package cc.mrbird.febs.accounting.entity;

import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 *  Entity
 *
 * @author baoyinlei
 * @date 2021-10-11 21:37:40
 */
@Data
@TableName("bk_detail_subject")
public class DetailSubject {

    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField("detail_subject_code")
    private String detailSubjectCode;

    /**
     * 
     */
    @TableField("detail_subject_name")
    private String detailSubjectName;

    /**
     * 
     */
    @TableField("subject_id")
    private Long subjectId;

    /**
     * 
     */
    @TableField("project_id")
    private Long projectId;

    /**
     * 
     */
    @TableField("is_deleted")
    private Integer isDeleted;

    /**
     * 
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 
     */
    @TableField("modify_time")
    private Date modifyTime;

    /**
     * 
     */
    @TableField("create_by")
    private String createBy;

    /**
     * 
     */
    @TableField("modify_by")
    private String modifyBy;

    @TableField("type")
    private Integer type;

    @TableField("remark")
    private String remark;

    @TableField(exist = false)
    private Integer mainSubjectId;

    @TableField(exist = false)
    private String projectName;

    @TableField(exist = false)
    private String mainSubjectName;
}
